﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace licai
{
    public partial class MainFrm : Form
    {
        public MainFrm()
        {
            InitializeComponent();
        }

        private void 基本资料DToolStripMenuItem_Click(object sender, EventArgs e)
        {

        }

        private void toolStrip2_ItemClicked(object sender, ToolStripItemClickedEventArgs e)
        {

        }

        private void tsmExit_Click(object sender, EventArgs e)
        {
            Application.Run(new MainFrm ());
        }

        private void tsmAddExp_Click(object sender, EventArgs e)
        {
            AddExpense AddExpFrm = new AddExpense();
            AddExpFrm.MdiParent = this;
            AddExpFrm.Show();
            tssMsg.Text = AddExpFrm.Text;
        }

        private void tsmAddItems_Click(object sender, EventArgs e)
        {
            AddItems AddItemsFrm = new AddItems();
            AddItemsFrm.MdiParent = this;
            AddItemsFrm.Show();
            tssMsg.Text = AddItemsFrm.Text;
        }

        private void tsmAbout_Click(object sender, EventArgs e)
        {
            AboutFrom aboutFrm =new  AboutFrom();
            aboutFrm.MdiParent = this;
            aboutFrm.Show();
            tssMsg.Text = aboutFrm.Text;
        }
    }
}
